
import elementEasyPrint from 'element-easy-print'
import 'element-easy-print/dist/style.css'
import TableV2 from "/@/components/table/tableV2.vue";
import filterBox from "/@/components/Filter/filterBox.vue";
import TableColumn from "/@/components/table/component/tableColumn.vue";
import comIcon from "/@ts/components/icon/index";
import ComDetail from '/@/components/detail/detail.vue'
import ComDialog from '/@/components/Dialog/index.vue'
import elementEasyForm from 'element-easy-form'
import 'element-easy-form/dist/style.css'
import selectDict from "/@/components/selectDict/index.vue";
import * as ElIcon from '@element-plus/icons-vue'
import selectModule from "/@/components/selectV2/selectModule.vue";
export function initComponent(app) {
    app.use(comIcon);
app.use(elementEasyPrint);
app.component("selectModule", selectModule);
app.component("selectDict", selectDict);
app.component("ComDetail", ComDetail);
app.component("ComDialog", ComDialog);
app.component("TableColumn", TableColumn);
app.component("filterBox", filterBox);

for (const [key, component] of Object.entries(ElIcon)) {
    app.component(key, component)
  }
app.component('TableV2',TableV2)
app.use(elementEasyForm)//element-plus挂载

}
